AI SDK Kotlin
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
smoothStream
smooth
Stream
fun
smoothStream
(
upstream
:
Flow
<
StreamEvent
>
,
delayMs
:
Long
=
10
,
chunkBy
:
ChunkBy
=
ChunkBy.Word
)
:
Flow
<
StreamEvent
>